:root {
  --ilex-blue: #003b6f; /* bleu foncé du site principal */
  --light-blue: #0277bd;
  --mineral-green: #00a0df; /* turquoise clair */
  --accent-red: #f04a00;
  --light-gray: #f3f3f4;
  --ilex-purple: #0a0082;
  --text-font-size: 13px;
  --login-text: #00000099 /*gris*/
}

body {
  background-image: url("https://login-test.ratpcap.com/user/medias/images/image_accueil_login.jpg");	
  font-family: 'Roboto', sans-serif;
  background-color: #f5f8fa;
  color: #003b6f;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper-content,
.container {
  max-width: 600px;
  margin: auto;
  padding: 2em;
  box-sizing: border-box;
 /* background-color: white;/
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  /*border-radius: 50px;*/
  /*margin-top: 50px*/
}

#contenu_specifique_application > form {
  text-align: center;
}

#header {
  background-color: transparent;
}

#contenu_specifique_application > form > .mdp_oubli,
.googlelink,
.franceconnectlink,
.WebAuthNlink,
.certificatlink {
  display: inline-block;
  margin: 0 10px;
}

/* Icones SSO */
.googlelink > a,
.franceconnectlink > a,
.WebAuthNlink > a,
.certificatlink > a,
.mdp_oubli a[data-value="GoogleAuthenticator"],
.mdp_oubli a[data-value="O365-SAML"] {
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  font-size: 0;
  margin: 0 10px;
}

.mdp_oubli a[data-value="O365-SAML"] {
  width: 120px;
  height: 120px;
}

.infos_user {
  position: absolute;
  top: 0;
  right: 0;
}

.infos_user a {
  display: block;       
  text-align: right;    
  width: 90%;         
}



.mdp_oubli a[data-value="GoogleAuthenticator"] {
  background-image: url("https://play-lh.googleusercontent.com/NntMALIH4odanPPYSqUOXsX8zy_giiK2olJiqkcxwFIOOspVrhMi9Miv6LYdRnKIg-3R=w480-h960-rw");
  display: inline-block;
  width: 90px;
  height: 90px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
}
.mdp_oubli a[data-value="O365-SAML"] {
  background-image: url("https://uhf.microsoft.com/images/microsoft/RE1Mu3b.png");
  display: inline-block;
  width: 140px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
}

/* Éléments cachés */
#topbar,
#sidebar,
footer,
.footer,
.upfooter {
  display: none !important;
}

#header .container {
  position: relative;
 /* border-radius: 50px;*/
}

/* Structure globale */
#wrapper,
#page-wrapper,
#page-wrapper-content {
  /*width: 30%;
  margin: 0;
  padding: 0;*/
 /* background-color: transparent;*/
  box-sizing: border-box;
  min-height: 0 !important;
  padding-bottom: 0px;
}

/* Texte central "ou" */
.paragraphe_simple_ou {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin: 20px 0 0;
  color: #003b6f;
}

/* Logo */
.logo {
  background-image: url("https://www.ratpcap.com/wp-content/uploads/2024/10/LogosCAP.svg") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  width: 200px !important;
  height: 120px;
  margin: 0 auto 30px;
}

/* Champs de formulaire */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Champs Forminator */
.forminator-ui input {
  border-radius: 1.5rem !important;
  border: 1px solid #003b6f !important;
  background-color: #fff !important;
}

/* Boutons */
input.custom_Button[type="submit"] {
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  padding: 12px;
  transition: background-color 0.3s ease;
  margin: 10px 0;
  cursor: pointer;
}

input.custom_Button[name="validateButton"] {
  background-color: var(--mineral-green);
  color: #fff;
  border: none;
}

input.custom_Button[name="validateButton"]:hover {
  background-color: var(--ilex-blue);
}

input.custom_Button[name="cancelButton"] {
  background-color: white;
  color: var(--ilex-blue);
  border: 2px solid var(--ilex-blue);
}

input.custom_Button[name="cancelButton"]:hover {
  background-color: var(--ilex-blue);
  color: white;
}
/* Paramétrage des pages de login*/
.id_mdp .app-description {
	font-family: "Trebuchet MS", sans-serif;
	border:2px solid var(--ilex-blue);
	background-image: url('https://login-test.ratpcap.com/user/medias/images/image_ratp_login.png');
	background-size: 50px 42px;
	background-position-x: 0px;
	background-color: var(--light-blue);
	color: white;
}
.id_mdp .app-description:hover {
	background-color: var(--ilex-purple);
	color: white;
}
.samlv2 .app-description {
	font-family: "Trebuchet MS", sans-serif;
	border:2px solid var(--ilex-blue);
	background-image: url('https://login-test.ratpcap.com/user/medias/images/image_microsoft_login.png');
	background-size: 50px 42px;
	background-position-x: 0px;
	background-color: white;
	color: var(--ilex-blue);
}
.samlv2 .app-description:hover {
	background-color: var(--ilex-purple);
	color: white;
}
.input-group {
	flex-wrap: nowrap;
}
.authListItem .nom_application{
	padding: 5px 50px 0px;
	font-weight: normal;
}

.header .container, #header .container{
	height: 95px;
}

/* Password reveal */
#AffPassAUTHENTICATION\.PASSWORD {
  
  color: white !important;
  border: none !important;
  height: 50px;
  margin-left: -5px;
  border-radius: 2px;
}

#AffPasspassword{
	height: 50px;	
	background-color: var(--ilex-blue) !important;
}

#AffPasspasswordconf{
	height: 50px;
	background-color: var(--ilex-blue) !important;
}

#AUTHENTICATION\.PASSWORDContainer::before {
  font-family: 'Font Awesome 5 Pro', sans-serif;
  position: absolute;
  top: 15px;
  left: 15px;
  content: "\f30D";
  font-size: 25px;
  font-weight: bold;
  color: #a1a6b2;
}

#AUTHENTICATION\.LOGINContainer::before {
  font-family: 'Font Awesome 5 Pro', sans-serif;
  position: absolute;
  top: 15px;
  left: 15px;
  content: "\f007";
  font-size: 25px;
  font-weight: bold;
  color: #a1a6b2;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1em;
  }
  .logo {
    width: 150px;
    height: 100px;
  }
  .googlelink > a,
  .franceconnectlink > a,
  .WebAuthNlink > a,
  .certificatlink > a {
    width: 48px;
    height: 48px;
    margin: 5px;
  }

  .paragraphe_simple_ou {
    font-size: 12px;
  }
  input.custom_Button[type="submit"] {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }
}

@media screen and (max-width: 768px) {
  #wrapper {
    width: 100%;
    min-width: 150px;
  }
}

a.link_style_simple {
  background-color: white;
  margin-right: 100px;
}